home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Jasc Software, Inc.',
- 'Copyright': 'Copyright (c) 2003-2004 Jasc Software, Inc. All rights reserved.',
- 'Description': '',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.01'
- }
-
- def MIPTemplate_Print():
- return {
- 'PrintingOptions': {
- 'PrinterName': None,
- 'Orientation': 0,
- 'NumCopies': 1,
- 'Negative': App.Constants.Boolean.false,
- 'Background': App.Constants.Boolean.false,
- 'BackgroundColor': (255,255,255),
- 'OutputOption': 0,
- 'CornerCropmarks': App.Constants.Boolean.false,
- 'CenterCropmarks': App.Constants.Boolean.false,
- 'RegistrationMarks': App.Constants.Boolean.false,
- 'ImageLabels': App.Constants.Boolean.false,
- 'Header': App.Constants.Boolean.false,
- 'HeaderText': r'',
- 'Footer': App.Constants.Boolean.false,
- 'FooterText': r'',
- 'CMYKLabels': App.Constants.Boolean.false,
- 'PrintQuality': 200,
- 'PaperSize': 1
- },
- 'MIPCmdFile': r'',
- 'TemplateMetric': App.Constants.Boolean.false,
- 'PageDimensions': (8.26667,11.69),
- 'TemplateCategory': r'Avery International',
- 'TemplateDescription': 'Papel de calidad fotogrßfica con brillo de 3,5 x 4,5 en A4',
- 'Template': [{
- 'CellPosition': (0.8575,0.8575),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (0.8575,2.9475),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (0.8575,5.0375),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (0.8575,7.1275),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (0.8575,9.2175),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (2.6275,0.8575),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (2.6275,2.9475),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (2.6275,5.0375),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (2.6275,7.1275),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (2.6275,9.2175),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (4.3975,0.8575),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (4.3975,2.9475),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (4.3975,5.0375),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (4.3975,7.1275),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (4.3975,9.2175),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (6.1675,0.8575),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (6.1675,2.9475),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (6.1675,5.0375),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (6.1675,7.1275),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- },{
- 'CellPosition': (6.1675,9.2175),
- 'CellSize': (1.245,1.635),
- 'ImagePlacement': 2,
- 'ImagePath': r'',
- 'RotationAngle': 0,
- 'ImagePosition': (0,0),
- 'ImageSize': (0,0)
- }]
- }
-
- def Do(Environment):
- App.Do( Environment, 'Print', MIPTemplate_Print())
-
-